/*
 * Abc.cpp
 *
 *  Created on: Feb 16, 2013
 *      Author: w1084063
 */

#include "Abc.h"

Abc::Abc(): idata(0), ddata(0) {
}

Abc::Abc(int i, double d): idata(i), ddata(d) {
}

Abc::~Abc() {
}

const Abc& Abc::operator +( const Abc& op) const{
	return Abc( idata + op.idata , ddata + op.ddata);
}

std::ostream& operator <<( std::ostream& outputStream, const Abc& op){
	outputStream << "[ " << op.idata << ", " << op.ddata << " ]";
	return outputStream;
}

